/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.dao;

import java.util.List;

import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.sys.entity.Store;
import com.yuhanginfo.modules.sys.entity.StoreGoods;

/**
 * 商品_门店关系DAO接口
 * @author yinhao
 * @version 2017-10-09
 */
@MyBatisDao
public interface StoreGoodsDao extends CrudDao<StoreGoods> {
	public StoreGoods getByCode(StoreGoods storeGoods);
	
	public List<Store> getByGoodsCode(StoreGoods storeGoods);
	
	int updateByGoodsCode(StoreGoods storeGoods);
	
	void batchInsert(List<StoreGoods> list);
}